package com.jjh.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jjh.annation.CreateTime;
import com.jjh.annation.UpdateTime;
import lombok.Data;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 口味和标签的组合
 */
@Data
public class FlavourTag {

    private Integer id;

    private String flavour;

    private List<String> tags;

    private Integer dishId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @CreateTime
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @UpdateTime
    private LocalDateTime updateTime;




}
